﻿<UserControl xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  x:Class="TYSXClientReport.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Model="clr-namespace:TYSXClientReport.Model"
    mc:Ignorable="d"
    d:DesignHeight="600" d:DesignWidth="800" 
             xmlns:local="clr-namespace:TYSXClientReport"
             xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" Loaded="UserControl_Loaded">

    <Grid x:Name="LayoutRoot" Background="White">
        <toolkit:WrapPanel HorizontalAlignment="Center" VerticalAlignment="Center">
            <Grid>
                <toolkit:Chart Name="mcChartClient" Title="天翼视讯客户端适配" Canvas.Top="80" Canvas.Left="10" Width="600" Height="400" Background="LightSteelBlue">
                    <!--<toolkit:LineSeries Name="lsPercent"
                            Title="用户占比"
                            IndependentValueBinding="{Binding strDate}"
                            DependentValueBinding="{Binding UserPerCent}">
                <toolkit:LineSeries.DependentRangeAxis>
                    <toolkit:LinearAxis                         
                                    Orientation="y"
                                    Title="用户占比(%)"
                                    Minimum="0"
                                    Maximum="100"
                                    Interval="10"
                                    ShowGridLines="False"/>
                </toolkit:LineSeries.DependentRangeAxis>
            </toolkit:LineSeries>
            <toolkit:ColumnSeries Title="用户数" Name="csUserNum"
                            IndependentValueBinding="{Binding strDate}"
                            DependentValueBinding="{Binding UserNum}">
            </toolkit:ColumnSeries>
            <toolkit:ColumnSeries Title="终端数" Name="csTerminalCount"
                            IndependentValueBinding="{Binding strDate}"
                            DependentValueBinding="{Binding TerminalCount}">
            </toolkit:ColumnSeries>-->
                </toolkit:Chart>
            </Grid>
            <Grid>
                <toolkit:Chart Name="mcChartWap" Title="天翼视讯Wap适配" Canvas.Top="80" Canvas.Left="10" Width="600" Height="400" Background="LightSteelBlue" FontWeight="{Binding}">
                </toolkit:Chart>             
            </Grid>
        </toolkit:WrapPanel>
        <ContentControl  Content="微创制作" FontWeight="Bold" FontSize="14" FontFamily="Comic Sans MS" />
    </Grid>
</UserControl>
